<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0085)http://www.raspberry-projects.com/pi/programming-in-c/uart-serial-port/using-the-uart -->
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US"><head profile="http://gmpg.org/xfn/11"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">


<title>Using the UART «  Raspberry Pi Projects</title>

<link rel="stylesheet" href="./Using the UART « Raspberry Pi Projects_files/style.css" type="text/css" media="screen">
<link rel="pingback" href="http://www.raspberry-projects.com/pi/xmlrpc.php">

<!-- Google +1 button script -->
<script type="text/javascript" async="" src="./Using the UART « Raspberry Pi Projects_files/ga.js"></script><script id="twitter-wjs" src="./Using the UART « Raspberry Pi Projects_files/widgets.js"></script><script id="facebook-jssdk" src="./Using the UART « Raspberry Pi Projects_files/all.js"></script><script src="./Using the UART « Raspberry Pi Projects_files/cb=gapi.loaded_0" async=""></script><script type="text/javascript" src="./Using the UART « Raspberry Pi Projects_files/plusone.js" gapi_processed="true">
  {lang: 'en-GB'}
</script><style class="flashcontrol" style="display: none;" type="text/css">/*FlashControl*/object[type$="x-shockwave-flash"]:not([classid]),object[type$="futuresplash"]:not([classid]),embed[type$="x-shockwave-flash"],embed[type$="futuresplash"]{display:none !important}</style>

<style type="text/css" media="screen">

	/* #page { background: url("http://www.raspberry-projects.com/pi/wp-content/themes/main/images/kubrickbgwide.jpg") repeat-y top; border: none; } */

</style>


<link rel="alternate" type="application/rss+xml" title="Raspberry Pi Projects » Feed" href="http://www.raspberry-projects.com/pi/feed">
<link rel="alternate" type="application/rss+xml" title="Raspberry Pi Projects » Comments Feed" href="http://www.raspberry-projects.com/pi/comments/feed">
<link rel="alternate" type="application/rss+xml" title="Raspberry Pi Projects » Using the UART Comments Feed" href="http://www.raspberry-projects.com/pi/programming-in-c/uart-serial-port/using-the-uart/feed">
<link rel="stylesheet" id="dtree.css-css" href="./Using the UART « Raspberry Pi Projects_files/wp-dtree.min.css" type="text/css" media="all">
<script type="text/javascript">
/* <![CDATA[ */
window.CKEDITOR_BASEPATH = "http://www.raspberry-projects.com/pi/wp-content/plugins/ckeditor-for-wordpress/ckeditor/";
var ckeditorSettings = { "textarea_id": "comment", "pluginPath": "http:\/\/www.raspberry-projects.com\/pi\/wp-content\/plugins\/ckeditor-for-wordpress\/", "autostart": true, "excerpt_state": false, "qtransEnabled": false, "outputFormat": { "indent": false, "breakBeforeOpen": true, "breakAfterOpen": true, "breakBeforeClose": true, "breakAfterClose": true }, "configuration": { "height": "120px", "skin": "kama", "scayt_autoStartup": true, "entities": true, "entities_greek": true, "entities_latin": true, "toolbar": "WordpressBasic", "templates_files": [ "http:\/\/www.raspberry-projects.com\/pi\/wp-content\/plugins\/ckeditor-for-wordpress\/ckeditor.templates.js" ], "contentsCss": [ "http:\/\/www.raspberry-projects.com\/pi\/wp-content\/themes\/main\/style.css" ], "stylesCombo_stylesSet": "wordpress:http:\/\/www.raspberry-projects.com\/pi\/wp-content\/plugins\/ckeditor-for-wordpress\/ckeditor.styles.js", "customConfig": "http:\/\/www.raspberry-projects.com\/pi\/wp-content\/plugins\/ckeditor-for-wordpress\/ckeditor.config.js" }, "externalPlugins": [  ], "additionalButtons": [  ] }
/* ]]> */
</script>		<style type="text/css">
				#content table.cke_editor { margin:0; }
				#content table.cke_editor tr td { padding:0;border:0; }
		</style>
		<script type="text/javascript" src="./Using the UART « Raspberry Pi Projects_files/ckeditor.js"></script>
<script type="text/javascript" src="./Using the UART « Raspberry Pi Projects_files/jquery.js"></script>
<script type="text/javascript" src="./Using the UART « Raspberry Pi Projects_files/ckeditor.utils.js"></script>
<script type="text/javascript" src="./Using the UART « Raspberry Pi Projects_files/ckeditor.comment-reply.js"></script>
<script type="text/javascript">
/* <![CDATA[ */
var WPdTreeSettings = {"animate":"0","duration":"0","imgurl":"http:\/\/www.raspberry-projects.com\/pi\/wp-content\/plugins\/wp-dtree-30\/"};
/* ]]> */
</script>
<script type="text/javascript" src="./Using the UART « Raspberry Pi Projects_files/wp-dtree.min.js"></script>
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://www.raspberry-projects.com/pi/xmlrpc.php?rsd">
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://www.raspberry-projects.com/pi/wp-includes/wlwmanifest.xml"> 
<link rel="prev" title="Using The SPI Interface" href="http://www.raspberry-projects.com/pi/programming-in-c/spi/using-the-spi-interface">
<link rel="next" title="printf" href="http://www.raspberry-projects.com/pi/programming-in-c/console/printf">
<meta name="generator" content="WordPress 3.4.2">
<link rel="canonical" href="./Using the UART « Raspberry Pi Projects_files/Using the UART « Raspberry Pi Projects.htm">
<link rel="shortlink" href="http://www.raspberry-projects.com/pi/?p=482">
<script type="text/javascript" async="" src="./Using the UART « Raspberry Pi Projects_files/embed.js"></script><style type="text/css">.fb_hidden{position:absolute;top:-10000px;z-index:10001}
.fb_invisible{display:none}
.fb_reset{background:none;border-spacing:0;border:0;color:#000;cursor:auto;direction:ltr;font-family:"lucida grande", tahoma, verdana, arial, sans-serif;font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:1;margin:0;overflow:visible;padding:0;text-align:left;text-decoration:none;text-indent:0;text-shadow:none;text-transform:none;visibility:visible;white-space:normal;word-spacing:normal}
.fb_link img{border:none}
.fb_dialog{background:rgba(82, 82, 82, .7);position:absolute;top:-10000px;z-index:10001}
.fb_dialog_advanced{padding:10px;-moz-border-radius:8px;-webkit-border-radius:8px;border-radius:8px}
.fb_dialog_content{background:#fff;color:#333}
.fb_dialog_close_icon{background:url(http://static.ak.fbcdn.net/rsrc.php/v2/yq/r/IE9JII6Z1Ys.png) no-repeat scroll 0 0 transparent;_background-image:url(http://static.ak.fbcdn.net/rsrc.php/v2/yL/r/s816eWC-2sl.gif);cursor:pointer;display:block;height:15px;position:absolute;right:18px;top:17px;width:15px;top:8px\9;right:7px\9}
.fb_dialog_mobile .fb_dialog_close_icon{top:5px;left:5px;right:auto}
.fb_dialog_padding{background-color:transparent;position:absolute;width:1px;z-index:-1}
.fb_dialog_close_icon:hover{background:url(http://static.ak.fbcdn.net/rsrc.php/v2/yq/r/IE9JII6Z1Ys.png) no-repeat scroll 0 -15px transparent;_background-image:url(http://static.ak.fbcdn.net/rsrc.php/v2/yL/r/s816eWC-2sl.gif)}
.fb_dialog_close_icon:active{background:url(http://static.ak.fbcdn.net/rsrc.php/v2/yq/r/IE9JII6Z1Ys.png) no-repeat scroll 0 -30px transparent;_background-image:url(http://static.ak.fbcdn.net/rsrc.php/v2/yL/r/s816eWC-2sl.gif)}
.fb_dialog_loader{background-color:#f2f2f2;border:1px solid #606060;font-size:24px;padding:20px}
.fb_dialog_top_left,
.fb_dialog_top_right,
.fb_dialog_bottom_left,
.fb_dialog_bottom_right{height:10px;width:10px;overflow:hidden;position:absolute}
/* @noflip */
.fb_dialog_top_left{background:url(http://static.ak.fbcdn.net/rsrc.php/v2/ye/r/8YeTNIlTZjm.png) no-repeat 0 0;left:-10px;top:-10px}
/* @noflip */
.fb_dialog_top_right{background:url(http://static.ak.fbcdn.net/rsrc.php/v2/ye/r/8YeTNIlTZjm.png) no-repeat 0 -10px;right:-10px;top:-10px}
/* @noflip */
.fb_dialog_bottom_left{background:url(http://static.ak.fbcdn.net/rsrc.php/v2/ye/r/8YeTNIlTZjm.png) no-repeat 0 -20px;bottom:-10px;left:-10px}
/* @noflip */
.fb_dialog_bottom_right{background:url(http://static.ak.fbcdn.net/rsrc.php/v2/ye/r/8YeTNIlTZjm.png) no-repeat 0 -30px;right:-10px;bottom:-10px}
.fb_dialog_vert_left,
.fb_dialog_vert_right,
.fb_dialog_horiz_top,
.fb_dialog_horiz_bottom{position:absolute;background:#525252;filter:alpha(opacity=70);opacity:.7}
.fb_dialog_vert_left,
.fb_dialog_vert_right{width:10px;height:100%}
.fb_dialog_vert_left{margin-left:-10px}
.fb_dialog_vert_right{right:0;margin-right:-10px}
.fb_dialog_horiz_top,
.fb_dialog_horiz_bottom{width:100%;height:10px}
.fb_dialog_horiz_top{margin-top:-10px}
.fb_dialog_horiz_bottom{bottom:0;margin-bottom:-10px}
.fb_dialog_iframe{line-height:0}
.fb_dialog_content .dialog_title{background:#6d84b4;border:1px solid #3b5998;color:#fff;font-size:14px;font-weight:bold;margin:0}
.fb_dialog_content .dialog_title > span{background:url(http://static.ak.fbcdn.net/rsrc.php/v2/yd/r/Cou7n-nqK52.gif)
no-repeat 5px 50%;float:left;padding:5px 0 7px 26px}
body.fb_hidden{-webkit-transform:none;height:100%;margin:0;left:-10000px;overflow:visible;position:absolute;top:-10000px;width:100%
}
.fb_dialog.fb_dialog_mobile.loading{background:url(http://static.ak.fbcdn.net/rsrc.php/v2/ya/r/3rhSv5V8j3o.gif)
white no-repeat 50% 50%;min-height:100%;min-width:100%;overflow:hidden;position:absolute;top:0;z-index:10001}
.fb_dialog.fb_dialog_mobile.loading.centered{max-height:590px;min-height:590px;max-width:500px;min-width:500px}
#fb-root #fb_dialog_ipad_overlay{background:rgba(0, 0, 0, .45);position:absolute;left:0;top:0;width:100%;min-height:100%;z-index:10000}
#fb-root #fb_dialog_ipad_overlay.hidden{display:none}
.fb_dialog.fb_dialog_mobile.loading iframe{visibility:hidden}
.fb_dialog_content .dialog_header{-webkit-box-shadow:white 0 1px 1px -1px inset;background:-webkit-gradient(linear, 0 0, 0 100%, from(#738ABA), to(#2C4987));border-bottom:1px solid;border-color:#1d4088;color:#fff;font:14px Helvetica, sans-serif;font-weight:bold;text-overflow:ellipsis;text-shadow:rgba(0, 30, 84, .296875) 0 -1px 0;vertical-align:middle;white-space:nowrap}
.fb_dialog_content .dialog_header table{-webkit-font-smoothing:subpixel-antialiased;height:43px;width:100%
}
.fb_dialog_content .dialog_header td.header_left{font-size:12px;padding-left:5px;vertical-align:middle;width:60px
}
.fb_dialog_content .dialog_header td.header_right{font-size:12px;padding-right:5px;vertical-align:middle;width:60px
}
.fb_dialog_content .touchable_button{background:-webkit-gradient(linear, 0 0, 0 100%, from(#4966A6),
color-stop(0.5, #355492), to(#2A4887));border:1px solid #29447e;-webkit-background-clip:padding-box;-webkit-border-radius:3px;-webkit-box-shadow:rgba(0, 0, 0, .117188) 0 1px 1px inset,
rgba(255, 255, 255, .167969) 0 1px 0;display:inline-block;margin-top:3px;max-width:85px;line-height:18px;padding:4px 12px;position:relative}
.fb_dialog_content .dialog_header .touchable_button input{border:none;background:none;color:#fff;font:12px Helvetica, sans-serif;font-weight:bold;margin:2px -12px;padding:2px 6px 3px 6px;text-shadow:rgba(0, 30, 84, .296875) 0 -1px 0}
.fb_dialog_content .dialog_header .header_center{color:#fff;font-size:16px;font-weight:bold;line-height:18px;text-align:center;vertical-align:middle}
.fb_dialog_content .dialog_content{background:url(http://static.ak.fbcdn.net/rsrc.php/v2/y9/r/jKEcVPZFk-2.gif) no-repeat 50% 50%;border:1px solid #555;border-bottom:0;border-top:0;height:150px}
.fb_dialog_content .dialog_footer{background:#f2f2f2;border:1px solid #555;border-top-color:#ccc;height:40px}
#fb_dialog_loader_close{float:left}
.fb_dialog.fb_dialog_mobile .fb_dialog_close_button{text-shadow:rgba(0, 30, 84, .296875) 0 -1px 0}
.fb_dialog.fb_dialog_mobile .fb_dialog_close_icon{visibility:hidden}
.fb_iframe_widget{position:relative;display:-moz-inline-block;display:inline-block}
.fb_iframe_widget iframe{position:absolute}
.fb_iframe_widget_lift{z-index:1}
.fb_iframe_widget span{display:inline-block;position:relative;text-align:justify;vertical-align:text-bottom}
.fb_hide_iframes iframe{position:relative;left:-10000px}
.fb_iframe_widget_loader{position:relative;display:inline-block}
.fb_iframe_widget_fluid{display:inline}
.fb_iframe_widget_fluid span{width:100%}
.fb_iframe_widget_loader iframe{min-height:32px;z-index:2;zoom:1}
.fb_iframe_widget_loader .FB_Loader{background:url(http://static.ak.fbcdn.net/rsrc.php/v2/y9/r/jKEcVPZFk-2.gif) no-repeat;height:32px;width:32px;margin-left:-16px;position:absolute;left:50%;z-index:4}
.fb_button_simple,
.fb_button_simple_rtl{background-image:url(http://static.ak.fbcdn.net/rsrc.php/v2/yH/r/eIpbnVKI9lR.png);background-repeat:no-repeat;cursor:pointer;outline:none;text-decoration:none}
.fb_button_simple_rtl{background-position:right 0}
.fb_button_simple .fb_button_text{margin:0 0 0 20px;padding-bottom:1px}
.fb_button_simple_rtl .fb_button_text{margin:0 10px 0 0}
a.fb_button_simple:hover .fb_button_text,
a.fb_button_simple_rtl:hover .fb_button_text,
.fb_button_simple:hover .fb_button_text,
.fb_button_simple_rtl:hover .fb_button_text{text-decoration:underline}
.fb_button,
.fb_button_rtl{background:#29447e url(http://static.ak.fbcdn.net/rsrc.php/v2/yL/r/FGFbc80dUKj.png);background-repeat:no-repeat;cursor:pointer;display:inline-block;padding:0 0 0 1px;text-decoration:none;outline:none}
.fb_button .fb_button_text,
.fb_button_rtl .fb_button_text{background:#5f78ab url(http://static.ak.fbcdn.net/rsrc.php/v2/yL/r/FGFbc80dUKj.png);border-top:solid 1px #879ac0;border-bottom:solid 1px #1a356e;color:#fff;display:block;font-family:"lucida grande",tahoma,verdana,arial,sans-serif;font-weight:bold;padding:2px 6px 3px 6px;margin:1px 1px 0 21px;text-shadow:none}
a.fb_button,
a.fb_button_rtl,
.fb_button,
.fb_button_rtl{text-decoration:none}
a.fb_button:active .fb_button_text,
a.fb_button_rtl:active .fb_button_text,
.fb_button:active .fb_button_text,
.fb_button_rtl:active .fb_button_text{border-bottom:solid 1px #29447e;border-top:solid 1px #45619d;background:#4f6aa3;text-shadow:none}
.fb_button_xlarge,
.fb_button_xlarge_rtl{background-position:left -60px;font-size:24px;line-height:30px}
.fb_button_xlarge .fb_button_text{padding:3px 8px 3px 12px;margin-left:38px}
a.fb_button_xlarge:active{background-position:left -99px}
.fb_button_xlarge_rtl{background-position:right -268px}
.fb_button_xlarge_rtl .fb_button_text{padding:3px 8px 3px 12px;margin-right:39px}
a.fb_button_xlarge_rtl:active{background-position:right -307px}
.fb_button_large,
.fb_button_large_rtl{background-position:left -138px;font-size:13px;line-height:16px}
.fb_button_large .fb_button_text{margin-left:24px;padding:2px 6px 4px 6px}
a.fb_button_large:active{background-position:left -163px}
.fb_button_large_rtl{background-position:right -346px}
.fb_button_large_rtl .fb_button_text{margin-right:25px}
a.fb_button_large_rtl:active{background-position:right -371px}
.fb_button_medium,
.fb_button_medium_rtl{background-position:left -188px;font-size:11px;line-height:14px}
a.fb_button_medium:active{background-position:left -210px}
.fb_button_medium_rtl{background-position:right -396px}
.fb_button_text_rtl,
.fb_button_medium_rtl .fb_button_text{padding:2px 6px 3px 6px;margin-right:22px}
a.fb_button_medium_rtl:active{background-position:right -418px}
.fb_button_small,
.fb_button_small_rtl{background-position:left -232px;font-size:10px;line-height:10px}
.fb_button_small .fb_button_text{padding:2px 6px 3px;margin-left:17px}
a.fb_button_small:active,
.fb_button_small:active{background-position:left -250px}
.fb_button_small_rtl{background-position:right -440px}
.fb_button_small_rtl .fb_button_text{padding:2px 6px;margin-right:18px}
a.fb_button_small_rtl:active{background-position:right -458px}
.fb_share_count_wrapper{position:relative;float:left}
.fb_share_count{background:#b0b9ec none repeat scroll 0 0;color:#333;font-family:"lucida grande", tahoma, verdana, arial, sans-serif;text-align:center}
.fb_share_count_inner{background:#e8ebf2;display:block}
.fb_share_count_right{margin-left:-1px;display:inline-block}
.fb_share_count_right .fb_share_count_inner{border-top:solid 1px #e8ebf2;border-bottom:solid 1px #b0b9ec;margin:1px 1px 0 1px;font-size:10px;line-height:10px;padding:2px 6px 3px;font-weight:bold}
.fb_share_count_top{display:block;letter-spacing:-1px;line-height:34px;margin-bottom:7px;font-size:22px;border:solid 1px #b0b9ec}
.fb_share_count_nub_top{border:none;display:block;position:absolute;left:7px;top:35px;margin:0;padding:0;width:6px;height:7px;background-repeat:no-repeat;background-image:url(http://static.ak.fbcdn.net/rsrc.php/v2/yU/r/bSOHtKbCGYI.png)}
.fb_share_count_nub_right{border:none;display:inline-block;padding:0;width:5px;height:10px;background-repeat:no-repeat;background-image:url(http://static.ak.fbcdn.net/rsrc.php/v2/yX/r/i_oIVTKMYsL.png);vertical-align:top;background-position:right 5px;z-index:10;left:2px;margin:0 2px 0 0;position:relative}
.fb_share_no_count{display:none}
.fb_share_size_Small .fb_share_count_right .fb_share_count_inner{font-size:10px}
.fb_share_size_Medium .fb_share_count_right .fb_share_count_inner{font-size:11px;padding:2px 6px 3px;letter-spacing:-1px;line-height:14px}
.fb_share_size_Large .fb_share_count_right .fb_share_count_inner{font-size:13px;line-height:16px;padding:2px 6px 4px;font-weight:normal;letter-spacing:-1px}
.fb_share_count_hidden .fb_share_count_nub_top,
.fb_share_count_hidden .fb_share_count_top,
.fb_share_count_hidden .fb_share_count_nub_right,
.fb_share_count_hidden .fb_share_count_right{visibility:hidden}
.fb_connect_bar_container div,
.fb_connect_bar_container span,
.fb_connect_bar_container a,
.fb_connect_bar_container img,
.fb_connect_bar_container strong{background:none;border-spacing:0;border:0;direction:ltr;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:1;margin:0;overflow:visible;padding:0;text-align:left;text-decoration:none;text-indent:0;text-shadow:none;text-transform:none;visibility:visible;white-space:normal;word-spacing:normal;vertical-align:baseline}
.fb_connect_bar_container{position:fixed;left:0 !important;right:0 !important;height:42px !important;padding:0 25px !important;margin:0 !important;vertical-align:middle !important;border-bottom:1px solid #333 !important;background:#3b5998 !important;z-index:99999999 !important;overflow:hidden !important}
.fb_connect_bar_container_ie6{position:absolute;top:expression(document.compatMode=="CSS1Compat"? document.documentElement.scrollTop+"px":body.scrollTop+"px")}
.fb_connect_bar{position:relative;margin:auto;height:100%;width:100%;padding:6px 0 0 0 !important;background:none;color:#fff !important;font-family:"lucida grande", tahoma, verdana, arial, sans-serif !important;font-size:13px !important;font-style:normal !important;font-variant:normal !important;font-weight:normal !important;letter-spacing:normal !important;line-height:1 !important;text-decoration:none !important;text-indent:0 !important;text-shadow:none !important;text-transform:none !important;white-space:normal !important;word-spacing:normal !important}
.fb_connect_bar a:hover{color:#fff}
.fb_connect_bar .fb_profile img{height:30px;width:30px;vertical-align:middle;margin:0 6px 5px 0}
.fb_connect_bar div a,
.fb_connect_bar span,
.fb_connect_bar span a{color:#bac6da;font-size:11px;text-decoration:none}
.fb_connect_bar .fb_buttons{float:right;margin-top:7px}
.fb_edge_widget_with_comment{position:relative;*z-index:1000}
.fb_edge_widget_with_comment span.fb_edge_comment_widget{position:absolute}
.fb_edge_widget_with_comment span.fb_send_button_form_widget{z-index:1}
.fb_edge_widget_with_comment span.fb_send_button_form_widget .FB_Loader{left:0;top:1px;margin-top:6px;margin-left:0;background-position:50% 50%;background-color:#fff;height:150px;width:394px;border:1px #666 solid;border-bottom:2px solid #283e6c;z-index:1}
.fb_edge_widget_with_comment span.fb_send_button_form_widget.dark .FB_Loader{background-color:#000;border-bottom:2px solid #ccc}
.fb_edge_widget_with_comment span.fb_send_button_form_widget.siderender
.FB_Loader{margin-top:0}
.fbpluginrecommendationsbarleft,
.fbpluginrecommendationsbarright{position:fixed !important;bottom:0;z-index:999}
/* @noflip */
.fbpluginrecommendationsbarleft{left:10px}
/* @noflip */
.fbpluginrecommendationsbarright{right:10px}</style></head>
<body class="single single-post postid-482 single-format-standard" data-twttr-rendered="true">

<!-- Facebook button script -->
<div id="fb-root" class=" fb_reset"><div style="position: absolute; top: -10000px; height: 0px; width: 0px;"><div><iframe name="fb_xdm_frame_http" frameborder="0" allowtransparency="true" scrolling="no" aria-hidden="true" title="Facebook Cross Domain Communication Frame" tab-index="-1" style="border: none;" src="./Using the UART « Raspberry Pi Projects_files/xd_arbiter.htm"></iframe><iframe name="fb_xdm_frame_https" frameborder="0" allowtransparency="true" scrolling="no" aria-hidden="true" title="Facebook Cross Domain Communication Frame" tab-index="-1" style="border: none;" src="./Using the UART « Raspberry Pi Projects_files/xd_arbiter(1).htm"></iframe></div></div><div style="position: absolute; top: -10000px; height: 0px; width: 0px;"><div></div></div></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>



<div class="z_page_background">
  <div class="z_page_container">

    <a href="http://www.raspberry-projects.com/pi/"><img src="./Using the UART « Raspberry Pi Projects_files/header_2.png" alt="Raspberry Pi Resources" class="z_header_div_header2_img"></a>
    <a href="http://www.ibexuk.com/index.php"><img src="./Using the UART « Raspberry Pi Projects_files/header_3.png" alt="Raspberry Pi Resources" class="z_header_div_header3_img"></a>



		

           <div class="title_box_wrapper">
              <div class="title_box_image">
        
                <span class="title_box_text_wrapper">
                <h1>Raspberry Pi Resources</h1>
                <h2>Our resources for other geeks, designers and engineers.</h2>
                </span>
              </div>
           </div>


		

    <div id="page">


<hr>

	<div id="content" class="narrowcolumn" role="main">

			<div class="navigation">
			<div class="alignleft">« <a href="http://www.raspberry-projects.com/pi/programming-in-c/spi/using-the-spi-interface" rel="prev">Using The SPI Interface</a></div>
			<div class="alignright"><a href="http://www.raspberry-projects.com/pi/programming-in-c/console/printf" rel="next">printf</a> »</div>
			<div class="the_breadcrumb"><a href="http://www.raspberry-projects.com/">Home</a> &gt; <a href="http://www.raspberry-projects.com/pi">Pi</a> &gt; <a href="http://www.raspberry-projects.com/pi/programming-in-c">Programming In C</a> &gt; <a href="http://www.raspberry-projects.com/pi/programming-in-c/uart-serial-port">Uart Serial Port</a> &gt; <a href="./Using the UART « Raspberry Pi Projects_files/Using the UART « Raspberry Pi Projects.htm">Using The Uart</a></div>
		</div>


		<div class="post-482 post type-post status-publish format-standard hentry category-uart-serial-port" id="post-482">
			<div class="edit_entry_page_top"></div>
			<h2>Using the UART</h2>


			<div class="entry">
				<p>
If you are running Raspbian or similar then the UART will be used as a serial console. &nbsp;Using a suitable cable, such as the&nbsp;<a href="http://uk.farnell.com/ftdi/ttl-232r-3v3-we/cable-usb-ttl-ser-conv-wire-end/dp/1740365" target="_blank">TTL-232R-3V3-WE</a>, you can connect it to your PC and using some simple terminal software set to 115200-8-N-1 use the command line interface to the Raspberry Pi&nbsp;in the same way as if you we're using a keyboard and screen connected to it. &nbsp;However that's no use if you want to use the UART interface for your own application&nbsp;running on the RPi.
</p>
<p><span id="more-482"></span></p>
<h4>
Turning off the UART&nbsp;functioning as a serial&nbsp;console<br>
</h4>
<p>
(This is based on <a href="http://www.irrational.net/2012/04/19/using-the-raspberry-pis-serial-port/" target="_blank">Clayton Smiths</a> nifty guide).
</p>
<p>
Backup the /boot/cmdline.txt file before you edit it just in case of screw-ups:
</p>
<pre><code>sudo cp /boot/cmdline.txt /boot/cmdline_backup.txt</code></pre>
<p>
Edit the file:
</p>
<pre><code>sudo vi /boot/cmdline.txt</code></pre>
<p>
Running "2012-09-18-wheezy-raspbian.img" the file contained the following:
</p>
<pre><code>dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait</code></pre>
<p>
Delete and parameters involving the serial port "ttyAMA0", which in this example is:
</p>
<pre><code>console=ttyAMA0,115200 kgdboc=ttyAMA0,115200</code></pre>
<p>
Which gives:
</p>
<pre><code>dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait</code></pre>
<p>
Press ESC to return to the vi command mode and then type ":wq" (without the quotation marks) to save and exit (even if it appears vi is still in editing mode just type the ":wq" command). &nbsp;If you need to exit without saving type ":q".
</p>
<p>
You also need to edit this file:
</p>
<pre><code>
sudo vi /etc/inittab
</code></pre>
<p>
Search for the serial port usage by typing:
</p>
<pre><code>/ttyAMA0/</code></pre>
<p>
This should find the line of the file specifying the serial port (if there is one), move the cursor to the start of the line and press "i" to select insert and cursor and then press "#" to comment out the line. &nbsp;Then press ESC and enter ":wq" to save and exit.&nbsp;
</p>
<p>
Enter "sudo reboot" to restart the pi and now the UART will be available for another process to use it.
</p>
<h4>
Using The UART In Your C Code<br>
</h4>
<p>
(This is based on the example code&nbsp;<a href="http://www.raspberrypi.org/phpBB3/viewtopic.php?t=7500&p=93257" target="_blank">given here</a>).
</p>
<h5>
Headers required<br>
</h5>
<pre><code>
#include &lt;stdio.h&gt;
#include &lt;unistd.h&gt;			//Used for UART
#include &lt;fcntl.h&gt;			//Used for UART
#include &lt;termios.h&gt;		//Used for UART
</code></pre>
<h5>
Setting Up The UART<br>
</h5>
<pre><code>
	//-------------------------
	//----- SETUP USART 0 -----
	//-------------------------
	//At bootup, pins 8 and 10 are already set to UART0_TXD, UART0_RXD (ie the alt0 function) respectively
	int uart0_filestream = -1;
	
	//OPEN THE UART
	//The flags (defined in fcntl.h):
	//	Access modes (use 1 of these):
	//		O_RDONLY - Open for reading only.
	//		O_RDWR - Open for reading and writing.
	//		O_WRONLY - Open for writing only.
	//
	//	O_NDELAY / O_NONBLOCK (same function) - Enables nonblocking mode. When set read requests on the file can return immediately with a failure status
	//											if there is no input immediately available (instead of blocking). Likewise, write requests can also return
	//											immediately with a failure status if the output can't be written immediately.
	//
	//	O_NOCTTY - When set and path identifies a terminal device, open() shall not cause the terminal device to become the controlling terminal for the process.
	uart0_filestream = open("/dev/ttyAMA0", O_RDWR | O_NOCTTY | O_NDELAY);		//Open in non blocking read/write mode
	if (uart0_filestream == -1)
	{
		//ERROR - CAN'T OPEN SERIAL PORT
		printf("Error - Unable to open UART.  Ensure it is not in use by another application\n");
	}
	
	//CONFIGURE THE UART
	//The flags (defined in /usr/include/termios.h - see http://pubs.opengroup.org/onlinepubs/007908799/xsh/termios.h.html):
	//	Baud rate:- B1200, B2400, B4800, B9600, B19200, B38400, B57600, B115200, B230400, B460800, B500000, B576000, B921600, B1000000, B1152000, B1500000, B2000000, B2500000, B3000000, B3500000, B4000000
	//	CSIZE:- CS5, CS6, CS7, CS8
	//	CLOCAL - Ignore modem status lines
	//	CREAD - Enable receiver
	//	IGNPAR = Ignore characters with parity errors
	//	ICRNL - Map CR to NL on input
	//	PARENB - Parity enable
	//	PARODD - Odd parity (else even)
	struct termios options;
	tcgetattr(uart0_filestream, &amp;options);
	options.c_cflag = B9600 | CS8 | CLOCAL | CREAD;		//&lt;Set baud rate
	options.c_iflag = IGNPAR | ICRNL;
	options.c_oflag = 0;
	options.c_lflag = 0;
	tcflush(uart0_filestream, TCIFLUSH);
	tcsetattr(uart0_filestream, TCSANOW, &amp;options);
</code></pre>
<h5>
Transmitting Bytes<br>
</h5>
<pre><code>
	//----- TX BYTES -----
	unsigned char tx_buffer[20];
	unsigned char *p_tx_buffer;
	
	p_tx_buffer = &amp;tx_buffer[0];
	*p_tx_buffer++ = 'H';
	*p_tx_buffer++ = 'e';
	*p_tx_buffer++ = 'l';
	*p_tx_buffer++ = 'l';
	*p_tx_buffer++ = 'o';
	
	if (uart0_filestream != -1)
	{
		int count = write(uart0_filestream, &amp;tx_buffer[0], (p_tx_buffer - &amp;tx_buffer[0]));		//Filestream, bytes to write, number of bytes to write
		if (count &lt; 0)
		{
			printf("UART TX error\n");
		}
	}
</code></pre>
<h5>
Receiving Bytes<br>
</h5>
<p>
Because&nbsp;O_NDELAY has been used this will exit if there are no receive bytes waiting (non blocking read), so if you want to hold waiting for input simply put this in a while loop
</p>
<pre><code>
	//----- CHECK FOR ANY RX BYTES -----
	if (uart0_filestream != -1)
	{
		// Read up to 255 characters from the port if they are there
		unsigned char rx_buffer[256];
		int rx_length = read(uart0_filestream, (void*)rx_buffer, 255);		//Filestream, buffer to store in, number of bytes to read (max)
		if (rx_length &lt; 0)
		{
			//An error occured (will occur if there are no bytes)
		}
		else if (rx_length == 0)
		{
			//No data waiting
		}
		else
		{
			//Bytes received
			rx_buffer[rx_length] = '\0';
			printf("%i bytes read : %s\n", rx_length, rx_buffer);
		}
	}
</code></pre>
<h5>
Closing the UART if no longer needed<br>
</h5>
<pre><code>
	//----- CLOSE THE UART -----
	close(uart0_filestream);
</code></pre>
<h4>
Using minicom&nbsp;on the UART<br>
</h4>
<p>
Install minicom:
</p>
<pre><code>sudo apt-get install minicom</code></pre>
<p>
Running minicom:
</p>
<pre><code>minicom -b 115200 -o -D /dev/ttyAMA0</code></pre>
<p>
To test the UART is working you can simply link the TX and RX pins to each other and verify minicom receives what you type.
</p>
<h4>
Troubleshooting UART Problems<br>
</h4>
<p>
The above code works (we've used it for TX and RX). If you can't get to to work for you and you've been through the steps to release the UART from being used for the console try the following:
</p>
<h5>
Permissions<br>
</h5>
<p>
This command will set read and write access permissions&nbsp;for all users on the UART – it shouldn't be needed but can be used just to be sure there is not a permissions problem:
</p>
<pre><code>
sudo chmod a+rw /dev/ttyAMA0</code></pre>
<h5>
Baud Rate Error<br>
</h5>
<p>
Try using a slower BAUD rate (or a single 0xFF byte which only has the start bit low) and see if it works. &nbsp;We had a problem using 115k2 baud rate where our microcontroller communicating with the RPi could hit 113636baud or 119047baud. &nbsp;113636baud had the lowest error margin so we used it and TX from the RPi being received by the microcontroller&nbsp;worked fine. &nbsp;However when transmitting to the RPi nothing was ever received. Changing the microcontroller to use 119047baud caused RX to work. We then tested the RPi&nbsp;transmitting a byte of 0×00&nbsp;and measured the low state on a scope we got 78uS, showing an actual baud rate of 115384 from the RPi (8bits + the start bit all low). &nbsp;This was odd as 113636baud still had to lower error margin but that was the finding.
</p>
<p>
Are you over or under clocking the RPi? If so do you need to adjust the baud rate to compensate for this?
</p>
<h4>
General UART Programming Resources<br>
</h4>
<p>
<a href="http://www.tldp.org/HOWTO/Serial-Programming-HOWTO/x115.html" target="_blank">http://www.tldp.org/HOWTO/Serial-Programming-HOWTO/x115.html</a></p>

								

			</div>
		</div>



	




    <!-- DISQUS COMMENTING START -->
    <div class="comments_heading">Please feel free to comment if you can add help to this page or point out issues and solutions you have found, but please note that we do not provide technical support on this site. If you need help with a problem please use one of the many online forums.</div>
    
    <div id="disqus_thread"><iframe id="dsq1" data-disqus-uid="1" allowtransparency="true" frameborder="0" role="application" style="width: 100%; border: none; overflow: hidden; height: 702px;" width="100%" src="./Using the UART « Raspberry Pi Projects_files/saved_resource.htm" scrolling="no" horizontalscrolling="no" verticalscrolling="no"></iframe><iframe id="dsq3" data-disqus-uid="3" allowtransparency="true" frameborder="0" role="application" style="width: 100%; border: none; overflow: hidden; display: none;" width="100%" src="./Using the UART « Raspberry Pi Projects_files/client.htm"></iframe><iframe id="dsq-indicator-north" data-disqus-uid="-indicator-north" allowtransparency="true" frameborder="0" role="application" style="width: 660px; border: none; overflow: hidden; top: 0px; min-width: 660px; max-width: 660px; position: fixed; max-height: 29px; min-height: 29px; height: 29px; display: none;" scrolling="no"></iframe><iframe id="dsq-indicator-south" data-disqus-uid="-indicator-south" allowtransparency="true" frameborder="0" role="application" style="width: 660px; border: none; overflow: hidden; bottom: 0px; min-width: 660px; max-width: 660px; position: fixed; max-height: 29px; min-height: 29px; height: 29px; display: none;" scrolling="no"></iframe></div>
    <script type="text/javascript">
        /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
        var disqus_shortname = 'raspberry-projects'; // required: replace example with your forum shortname
		    var disqus_identifier = '482';		//Provide numeric ID instead of using URL so we can rename posts without loosing their comments
				
        /* * * DON'T EDIT BELOW THIS LINE * * */
        (function() {
            var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
            dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
            (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
        })();
    </script>
    <noscript>Please enable JavaScript to view the &lt;a href="http://disqus.com/?ref_noscript"&gt;comments powered by Disqus.&lt;/a&gt;</noscript>
    
    <!-- DISQUS COMMENTING END -->


    <div class="page_bottom_info_box_wrapper">
      <div class="page_bottom_info_box_title">
      USEFUL?
      </div>
      <div class="page_bottom_info_box_text">
We benefit hugely from resources on the web so we decided we should try and give back some of our knowledge and resources to the community by opening up many of our company’s internal notes and libraries through mini sites like this. We hope you find the site helpful.
      </div>
    </div>



	</div>
	<div id="sidebar" role="complementary">
		<ul>

            <!-- Link banner -->
			<a href="http://www.ibexuk.com/electronics-design.php"><img src="./Using the UART « Raspberry Pi Projects_files/sidebar1.png" width="226" height="92"></a>
            <div style="margin-top: 6px;"></div>


<!-- <a href="" target="_blank"><img src="/wp-content/themes/main/images/rss_feed.gif" width="64" height="16" /></a> -->



 
           <!-- Google +1, Twitter & Facebook Buttons BEGIN -->

						<!-- LINE 1 -->
            <div style="width: 226px;height: 18px;">
            
							<!-- plus1 -->
              <div style="width: 24px;height: 18px;float: left;">
                  <div style="height: 15px; width: 24px; display: inline-block; text-indent: 0px; margin: 0px; padding: 0px; background-color: transparent; border-style: none; float: none; line-height: normal; font-size: 1px; vertical-align: baseline; background-position: initial initial; background-repeat: initial initial;" id="___plusone_0"><iframe frameborder="0" hspace="0" marginheight="0" marginwidth="0" scrolling="no" style="position: static; top: 0px; width: 24px; margin: 0px; border-style: none; left: 0px; visibility: visible; height: 15px;" tabindex="0" vspace="0" width="100%" id="I0_1362929136925" name="I0_1362929136925" src="./Using the UART « Raspberry Pi Projects_files/fastbutton.htm" allowtransparency="true" data-gapiattached="true" title="+1"></iframe></div>
              </div>

            	<!-- gap -->
              <div style="width: 4px;height: 18px;float: left;"></div>
            
							<!-- google+ -->
              <div style="width: 16px;height: 18px;float: left;">
  		            <a rel="author" href="https://plus.google.com/b/104071417981706550912/"><img src="./Using the UART « Raspberry Pi Projects_files/gplus-16.png" width="16" height="16"></a>
              </div>
            
            	<!-- gap -->
              <div style="width: 4px;height: 18px;float: left;"></div>
            
							<!-- recommend -->
              <div style="width: 120px;height: 18px;float: left;">
                  <div class="fb-like fb_edge_widget_with_comment fb_iframe_widget" data-send="false" data-layout="button_count" data-width="450" data-show-faces="false" data-action="recommend" fb-xfbml-state="rendered"><span style="height: 20px; width: 111px;"><iframe id="fbf0249e" name="f3f2436b2" scrolling="no" style="border: none; overflow: hidden; height: 20px; width: 111px;" title="Like this content on Facebook." class="fb_ltr" src="./Using the UART « Raspberry Pi Projects_files/like.htm"></iframe></span></div>
              </div>
            </div>

            <div style="margin-top: 6px;"></div>
            
						<!-- LINE 2 -->
            <div style="width: 226px;height: 18px;">

							<!-- tweet -->
              <div style="width: 58px;height: 18px;float: left;">
                <iframe allowtransparency="true" frameborder="0" scrolling="no" src="./Using the UART « Raspberry Pi Projects_files/tweet_button.1362636220.htm" class="twitter-share-button twitter-count-none" style="width: 59px; height: 20px;" title="Twitter Tweet Button" data-twttr-rendered="true"></iframe><script type="text/javascript" src="./Using the UART « Raspberry Pi Projects_files/widgets.js"></script>
              </div>
              
            	<!-- gap -->
              <div style="width: 4px;height: 18px;float: left;"></div>

							<!-- follow -->
              <div style="width: 100px;height: 18px;float: left;">
                <iframe allowtransparency="true" frameborder="0" scrolling="no" src="./Using the UART « Raspberry Pi Projects_files/follow_button.1362636220.htm" class="twitter-follow-button twitter-follow-button" style="width: 60px; height: 20px;" title="Twitter Follow Button" data-twttr-rendered="true"></iframe>
                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
              </div>

            </div>
            <!-- Google +1, Twitter & Facebook Buttons END -->

            

			<!-- Login link top right -->
	        <!-- <div class="loginlink"><a href="http://www.raspberry-projects.com/pi/wp-admin/">LOGIN</a></div> -->



        	<li id="wpdt-categories-widget-2" class="widget wpdt-categories"><h2 class="widgettitle">Categories</h2><div class="dtree"><span class="oclinks oclinks_cat" id="oclinks_cat1" style="display: block;"><a href="javascript:cat1.openAll();" title="open all">open all</a><span class="oclinks_sep oclinks_sep_cat" id="oclinks_sep_cat1"> | </span><a href="javascript:cat1.closeAll();" title="close all">close all</a></span>

<script type="text/javascript">
<!--
try{
if(document.getElementById && document.getElementById('oclinks_cat1')){document.getElementById('oclinks_cat1').style.display = 'block';}
var cat1 = new wpdTree('cat1', 'http://www.raspberry-projects.com/pi/','0');
cat1.config.useLines=1;
cat1.config.useIcons=1;
cat1.config.closeSameLevel=0;
cat1.config.folderLinks=1;
cat1.config.useSelection=0;
cat1.a(0,'root','','','','','');
cat1.a(-15,-9,'.Compilers and IDE\'s','','category/programming-in-c/compilers-and-ides','','');
cat1.a(-37,-9,'Arguments','','category/programming-in-c/arguments','','');
cat1.a(-14,-8,'Arm Bare Metal Coding','','category/pi-operating-systems/arm-bare-metal-coding','','');
cat1.a(-10,0,'Bash','','category/bash','','');
cat1.a(-18,-9,'C Libraries','','category/programming-in-c/c-libraries','','');
cat1.a(-20,0,'Command Line','','category/command-line','','');
cat1.a(-28,-9,'Console','','category/programming-in-c/console','','');
cat1.a(-5,-8,'Debian \'squeeze\'','','category/pi-operating-systems/debian-squeeze','','');
cat1.a(-48,-9,'Delays','','category/programming-in-c/delays','','');
cat1.a(-17,-15,'Eclipse','','category/programming-in-c/compilers-and-ides/eclipse','','');
cat1.a(-44,-9,'Exit','','category/programming-in-c/exit','','');
cat1.a(-12,-9,'File Input and Output','','category/programming-in-c/file-input-and-output','','');
cat1.a(-16,-15,'Geany','','category/programming-in-c/compilers-and-ides/geany','','');
cat1.a(-42,-39,'GTK','','category/programming-in-c/gui-programming-in-c/gtk','','');
cat1.a(-33,-11,'GUI','','category/pi-operating-systems/raspbian/gui','','');
cat1.a(-39,-9,'GUI','','category/programming-in-c/gui-programming-in-c','','');
cat1.a(-25,-9,'I2C','','category/programming-in-c/i2c','','');
cat1.a(-19,-9,'IO Pins','','category/programming-in-c/io-pins','','');
cat1.a(-21,-9,'Memory','','category/programming-in-c/memory','','');
cat1.a(-38,-11,'Networking','','category/pi-operating-systems/raspbian/network-settings','','');
cat1.a(-32,-9,'Null','','category/programming-in-c/null','','');
cat1.a(-6,0,'Other Boards','','category/other-boards','','');
cat1.a(-3,0,'Pi Hardware','','category/pi-hardware','','');
cat1.a(-8,0,'Pi Operating Systems','','category/pi-operating-systems','','');
cat1.a(-36,-9,'Pipes','','category/programming-in-c/pipes','','');
cat1.a(-9,0,'Programming in C/C++','','category/programming-in-c','','');
cat1.a(-43,-9,'PWM','','category/programming-in-c/pwm','','');
cat1.a(-40,-39,'QT','','category/programming-in-c/gui-programming-in-c/qt','','');
cat1.a(-7,-8,'QT on the Raspberry Pi','','category/pi-operating-systems/qt-on-the-raspberry-pi','','');
cat1.a(-46,-9,'Random','','category/programming-in-c/random','','');
cat1.a(-11,-8,'Raspbian wheexy - Recommended OS','','category/pi-operating-systems/raspbian','','');
cat1.a(-29,-9,'Scheduler','','category/programming-in-c/scheduler','','');
cat1.a(-45,-9,'Semaphores','','category/programming-in-c/semaphores','','');
cat1.a(-13,0,'Software and Utilities','','category/software_utilities','','');
cat1.a(-23,-9,'Speed','','category/programming-in-c/speed','','');
cat1.a(-26,-9,'SPI','','category/programming-in-c/spi','','');
cat1.a(-30,-9,'Strings','','category/programming-in-c/strings','','');
cat1.a(-31,-9,'TCP/IP','','category/programming-in-c/tcpip','','');
cat1.a(-35,-20,'Text File Editors','','category/command-line/text-file-editors','','');
cat1.a(-24,-9,'Timing','','category/programming-in-c/timing','','');
cat1.a(-41,-39,'TK','','category/programming-in-c/gui-programming-in-c/tk','','');
cat1.a(-27,-9,'UART Serial Port','','category/programming-in-c/uart-serial-port','','');
cat1.a(-47,-11,'USB','','category/pi-operating-systems/raspbian/usb','','');
cat1.a(-34,-11,'Web Servers','','category/pi-operating-systems/raspbian/web-servers','','');
cat1.a(673,-20,'.Command Line General','','command-line/command-line-general','','');
cat1.a(141,-16,'.Geany General','','programming-in-c/compilers-and-ides/geany/geany-general','','');
cat1.a(177,-9,'.Getting Your RPi Ready For C Programming','','programming-in-c/getting-your-raspberry-pi-ready-for-c-programming','','');
cat1.a(177,-15,'.Getting Your RPi Ready For C Programming','','programming-in-c/getting-your-raspberry-pi-ready-for-c-programming','','');
cat1.a(714,-42,'.GTK General','','programming-in-c/gui-programming-in-c/gtk/gtk-general','','');
cat1.a(710,-40,'.QT General','','programming-in-c/gui-programming-in-c/qt/qt-general-2','','');
cat1.a(72,-11,'.Raspbian General','','pi-operating-systems/raspbian/raspbian-general','','');
cat1.a(17,-5,'.Starting Up For the First Time','','pi-operating-systems/debian-squeeze/starting-up-for-the-first-time','','');
cat1.a(712,-41,'.TK General','','programming-in-c/gui-programming-in-c/tk/tk-general','','');
cat1.a(130,-14,'ARM Bare Metal Coding','','pi-operating-systems/arm-bare-metal-coding/arm-bare-metal-coding','','');
cat1.a(678,-11,'Auto running programs','','pi-operating-systems/raspbian/auto-running-programs','','');
cat1.a(157,-18,'bcm2835 by Mike McCauley','','programming-in-c/c-libraries/bcm2835-by-mike-mccauley','','');
cat1.a(157,-19,'bcm2835 by Mike McCauley','','programming-in-c/c-libraries/bcm2835-by-mike-mccauley','','');
cat1.a(466,-3,'BCM2835 SoC','','pi-hardware/bcm2835','','');
cat1.a(370,-9,'C General','','programming-in-c/c-general','','');
cat1.a(412,-24,'clock_gettime() For Acurate Timing','','programming-in-c/timing/clock_gettime-for-acurate-timing','','');
cat1.a(128,-13,'Codecs','','software_utilities/codecs','','');
cat1.a(556,-35,'Comand Line Text Editors','','command-line/text-file-editors/comand-line-text-editors','','');
cat1.a(139,-33,'Command prompt','','pi-operating-systems/raspbian/gui/command-prompt','','');
cat1.a(636,-31,'Configuring Network Adaptors','','programming-in-c/tcpip/configuring-network-adaptors','','');
cat1.a(636,-38,'Configuring Network Adaptors','','programming-in-c/tcpip/configuring-network-adaptors','','');
cat1.a(669,-30,'CR and LF','','programming-in-c/strings/cr-and-lf','','');
cat1.a(179,-16,'Creating A Geany Project','','programming-in-c/compilers-and-ides/geany/creating-a-project','','');
cat1.a(807,-24,'Delays','','programming-in-c/timing/delays','','');
cat1.a(807,-48,'Delays','','programming-in-c/timing/delays','','');
cat1.a(703,-3,'Detecting Hardware Version','','pi-hardware/detecting-hardware-version','','');
cat1.a(379,-17,'Eclipse General Notes','','programming-in-c/compilers-and-ides/eclipse/eclipse-general-notes','','');
cat1.a(753,-44,'Exit To Terminate Application','','programming-in-c/exit/exit-to-terminate-application','','');
cat1.a(529,-12,'File Extensions In Linux','','programming-in-c/file-input-and-output/file-extensions-in-linux','','');
cat1.a(322,-20,'File System','','command-line/file-system','','');
cat1.a(600,-37,'Getting Arguments Supplied To The Program','','programming-in-c/arguments/getting-arguments-supplied-to-the-program','','');
cat1.a(407,-19,'GPIO interrupts','','programming-in-c/io-pins/gpio-interrupts','','');
cat1.a(45,-3,'Hardware General Specifications &#8211; Model B','','pi-hardware/hardware-general-specifications','','');
cat1.a(145,-16,'Installing Geany','','programming-in-c/compilers-and-ides/geany/installing-geany','','');
cat1.a(37,-10,'IO Pin Control','','bash/io-pin-control','','');
cat1.a(35,-19,'IO Pin Control &#8211; General','','programming-in-c/io-pins/io-pin-control-general','','');
cat1.a(391,-19,'IO Speed','','programming-in-c/io-pins/io-speed','','');
cat1.a(391,-23,'IO Speed','','programming-in-c/io-pins/io-speed','','');
cat1.a(124,-13,'IO Utilities','','software_utilities/io-utilities','','');
cat1.a(28,-7,'Licencing costs','','pi-operating-systems/qt-on-the-raspberry-pi/licencing-costs','','');
cat1.a(256,-17,'Linux Eclipse Programming of the RPi','','programming-in-c/compilers-and-ides/eclipse/programming-the-rpi-in-linux-using-eclipse','','');
cat1.a(41,-3,'Model B CAD &amp; Mounting Info','','pi-hardware/model-b-cad','','');
cat1.a(10,-3,'Model B IO Pins','','pi-hardware/model-b-io-pins','','');
cat1.a(7,-3,'Model B schematics','','pi-hardware/model-b-schematics','','');
cat1.a(592,-36,'Named Pipes / FIFO&#8217;s','','programming-in-c/pipes/named-pipes-fifos','','');
cat1.a(547,-31,'Network Interface Code Snippets','','programming-in-c/tcpip/network-interface-code-snippets','','');
cat1.a(550,-32,'Null','','programming-in-c/null/null','','');
cat1.a(25,-6,'Other Boards Like the RPi','','other-boards/other-boards','','');
cat1.a(555,-13,'PHP/Apache','','software_utilities/phpapache','','');
cat1.a(555,-34,'PHP/Apache','','software_utilities/phpapache','','');
cat1.a(48,-3,'Power','','pi-hardware/power','','');
cat1.a(495,-28,'printf','','programming-in-c/console/printf','','');
cat1.a(805,-15,'Problems With Old Projects','','programming-in-c/compilers-and-ides/problems-with-old-projects','','');
cat1.a(394,-23,'Process Allocation By The OS','','programming-in-c/speed/process-allocation-by-the-os','','');
cat1.a(394,-29,'Process Allocation By The OS','','programming-in-c/speed/process-allocation-by-the-os','','');
cat1.a(345,-20,'Processes','','command-line/processes','','');
cat1.a(30,-7,'QT General','','pi-operating-systems/qt-on-the-raspberry-pi/qt-general','','');
cat1.a(789,-46,'rand()','','programming-in-c/random/rand','','');
cat1.a(117,-12,'Read and Write Speed','','programming-in-c/file-input-and-output/read-and-write-speed','','');
cat1.a(542,-31,'Read Local Network Adaptors','','programming-in-c/tcpip/read-local-network-interface-settings','','');
cat1.a(570,-20,'Root user privileges','','command-line/root-user-privileges','','');
cat1.a(800,-38,'RPi As Wifi Access Point','','pi-operating-systems/raspbian/network-settings/rpi-as-wifi-access-point','','');
cat1.a(167,-9,'Running Your Exe','','programming-in-c/running-your-exe','','');
cat1.a(167,-15,'Running Your Exe','','programming-in-c/running-your-exe','','');
cat1.a(708,-11,'Screensaver','','pi-operating-systems/raspbian/screensaver','','');
cat1.a(687,-11,'Scripts','','pi-operating-systems/raspbian/scripts','','');
cat1.a(23,-3,'SD Cards','','pi-hardware/sd-cards','','');
cat1.a(748,-21,'Shared Memory','','programming-in-c/memory/shared-memory','','');
cat1.a(773,-21,'Shared Memory Between C Application And PHP Web Server','','programming-in-c/memory/shared-memory-between-c-application-and-php-web-server','','');
cat1.a(364,-20,'Soft Reset','','command-line/soft-reset','','');
cat1.a(521,-30,'Strings General','','programming-in-c/strings/strings-general','','');
cat1.a(122,-13,'System Utilities','','software_utilities/system-utilities','','');
cat1.a(410,-24,'Timer Resources','','programming-in-c/timing/timer-resources','','');
cat1.a(766,-13,'Transfering Files From Windows PC&#8217;s','','software_utilities/transfering-files-from-windows-pcs','','');
cat1.a(351,-13,'Updating Packages','','software_utilities/updating-packages','','');
cat1.a(796,-47,'USB Commands','','pi-operating-systems/raspbian/usb/usb-commands','','');
cat1.a(643,-28,'Using console commands in code','','programming-in-c/console/using-console-commands-in-code','','');
cat1.a(756,-45,'Using Semaphores','','programming-in-c/semaphores/using-semaphores','','');
cat1.a(473,-25,'Using the I2C interface','','programming-in-c/i2c/using-the-i2c-interface','','');
cat1.a(718,-43,'Using the PWM Pin','','programming-in-c/pwm/using-the-pwm-pin','','');
cat1.a(476,-26,'Using The SPI Interface','','programming-in-c/spi/using-the-spi-interface','','');
cat1.a(482,-27,'Using the UART','','programming-in-c/uart-serial-port/using-the-uart','','');
cat1.a(353,-21,'Variables','','programming-in-c/memory/variables','','');
cat1.a(349,-13,'Web Browsers','','software_utilities/web-browsers','','');
cat1.a(574,-31,'Web Interfaces','','programming-in-c/tcpip/web-interfaces','','');
cat1.a(574,-34,'Web Interfaces','','programming-in-c/tcpip/web-interfaces','','');
cat1.a(133,-8,'Win32DiskImager','','pi-operating-systems/win32diskimager','','');
cat1.a(150,-17,'Windows Eclipse Programming of the RPi','','programming-in-c/compilers-and-ides/eclipse/programming-the-rpi-in-windows-using-eclipse','','');
cat1.a(583,-12,'Working With Directories','','programming-in-c/file-input-and-output/working-with-directories','','');
cat1.a(516,-12,'Working With Files','','programming-in-c/file-input-and-output/working-with-files','','');
document.write(cat1);
}catch(e){} //-->
</script><div class="dtree_cat" id="dtree_cat1">
<div class="dtNode"> </div><div id="dcat10" class="clip" style="display:block;"><div class="dtNode"><a href="javascript: cat1.o(4);"><img id="jcat14" src="./Using the UART « Raspberry Pi Projects_files/plus.gif" alt=""></a><img id="icat14" src="./Using the UART « Raspberry Pi Projects_files/folder.gif" alt=""><a id="scat14" class="node" href="http://www.raspberry-projects.com/pi/category/bash" title="Bash">Bash</a> </div><div id="dcat14" class="clip" style="display:none;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat179" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat179" class="node" href="http://www.raspberry-projects.com/pi/bash/io-pin-control" title="IO Pin Control">IO Pin Control</a> </div></div><div class="dtNode"><a href="javascript: cat1.o(6);"><img id="jcat16" src="./Using the UART « Raspberry Pi Projects_files/plus.gif" alt=""></a><img id="icat16" src="./Using the UART « Raspberry Pi Projects_files/folder.gif" alt=""><a id="scat16" class="node" href="http://www.raspberry-projects.com/pi/category/command-line" title="Command Line">Command Line</a> </div><div id="dcat16" class="clip" style="display:none;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><a href="javascript: cat1.o(39);"><img id="jcat139" src="./Using the UART « Raspberry Pi Projects_files/plus.gif" alt=""></a><img id="icat139" src="./Using the UART « Raspberry Pi Projects_files/folder.gif" alt=""><a id="scat139" class="node" href="http://www.raspberry-projects.com/pi/category/command-line/text-file-editors" title="Text File Editors">Text File Editors</a> </div><div id="dcat139" class="clip" style="display:none;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat162" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat162" class="node" href="http://www.raspberry-projects.com/pi/command-line/text-file-editors/comand-line-text-editors" title="Comand Line Text Editors">Comand Line Text Editors</a> </div></div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat145" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat145" class="node" href="http://www.raspberry-projects.com/pi/command-line/command-line-general" title=".Command Line General">.Command Line General</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat174" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat174" class="node" href="http://www.raspberry-projects.com/pi/command-line/file-system" title="File System">File System</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat1100" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat1100" class="node" href="http://www.raspberry-projects.com/pi/command-line/processes" title="Processes">Processes</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat1105" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat1105" class="node" href="http://www.raspberry-projects.com/pi/command-line/root-user-privileges" title="Root user privileges">Root user privileges</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat1114" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat1114" class="node" href="http://www.raspberry-projects.com/pi/command-line/soft-reset" title="Soft Reset">Soft Reset</a> </div></div><div class="dtNode"><a href="javascript: cat1.o(22);"><img id="jcat122" src="./Using the UART « Raspberry Pi Projects_files/plus.gif" alt=""></a><img id="icat122" src="./Using the UART « Raspberry Pi Projects_files/folder.gif" alt=""><a id="scat122" class="node" href="http://www.raspberry-projects.com/pi/category/other-boards" title="Other Boards">Other Boards</a> </div><div id="dcat122" class="clip" style="display:none;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat192" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat192" class="node" href="http://www.raspberry-projects.com/pi/other-boards/other-boards" title="Other Boards Like the RPi">Other Boards Like the RPi</a> </div></div><div class="dtNode"><a href="javascript: cat1.o(23);"><img id="jcat123" src="./Using the UART « Raspberry Pi Projects_files/plus.gif" alt=""></a><img id="icat123" src="./Using the UART « Raspberry Pi Projects_files/folder.gif" alt=""><a id="scat123" class="node" href="http://www.raspberry-projects.com/pi/category/pi-hardware" title="Pi Hardware">Pi Hardware</a> </div><div id="dcat123" class="clip" style="display:none;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat158" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat158" class="node" href="http://www.raspberry-projects.com/pi/pi-hardware/bcm2835" title="BCM2835 SoC">BCM2835 SoC</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat170" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat170" class="node" href="http://www.raspberry-projects.com/pi/pi-hardware/detecting-hardware-version" title="Detecting Hardware Version">Detecting Hardware Version</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat177" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat177" class="node" href="http://www.raspberry-projects.com/pi/pi-hardware/hardware-general-specifications" title="Hardware General Specifications – Model B">Hardware General Specifications – Model B</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat186" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat186" class="node" href="http://www.raspberry-projects.com/pi/pi-hardware/model-b-cad" title="Model B CAD &amp; Mounting Info">Model B CAD &amp; Mounting Info</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat187" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat187" class="node" href="http://www.raspberry-projects.com/pi/pi-hardware/model-b-io-pins" title="Model B IO Pins">Model B IO Pins</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat188" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat188" class="node" href="http://www.raspberry-projects.com/pi/pi-hardware/model-b-schematics" title="Model B schematics">Model B schematics</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat195" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat195" class="node" href="http://www.raspberry-projects.com/pi/pi-hardware/power" title="Power">Power</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat1111" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat1111" class="node" href="http://www.raspberry-projects.com/pi/pi-hardware/sd-cards" title="SD Cards">SD Cards</a> </div></div><div class="dtNode"><a href="javascript: cat1.o(24);"><img id="jcat124" src="./Using the UART « Raspberry Pi Projects_files/plus.gif" alt=""></a><img id="icat124" src="./Using the UART « Raspberry Pi Projects_files/folder.gif" alt=""><a id="scat124" class="node" href="http://www.raspberry-projects.com/pi/category/pi-operating-systems" title="Pi Operating Systems">Pi Operating Systems</a> </div><div id="dcat124" class="clip" style="display:none;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><a href="javascript: cat1.o(3);"><img id="jcat13" src="./Using the UART « Raspberry Pi Projects_files/plus.gif" alt=""></a><img id="icat13" src="./Using the UART « Raspberry Pi Projects_files/folder.gif" alt=""><a id="scat13" class="node" href="http://www.raspberry-projects.com/pi/category/pi-operating-systems/arm-bare-metal-coding" title="Arm Bare Metal Coding">Arm Bare Metal Coding</a> </div><div id="dcat13" class="clip" style="display:none;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat154" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat154" class="node" href="http://www.raspberry-projects.com/pi/pi-operating-systems/arm-bare-metal-coding/arm-bare-metal-coding" title="ARM Bare Metal Coding">ARM Bare Metal Coding</a> </div></div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><a href="javascript: cat1.o(8);"><img id="jcat18" src="./Using the UART « Raspberry Pi Projects_files/plus.gif" alt=""></a><img id="icat18" src="./Using the UART « Raspberry Pi Projects_files/folder.gif" alt=""><a id="scat18" class="node" href="http://www.raspberry-projects.com/pi/category/pi-operating-systems/debian-squeeze" title="Debian &#39;squeeze&#39;">Debian 'squeeze'</a> </div><div id="dcat18" class="clip" style="display:none;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat152" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat152" class="node" href="http://www.raspberry-projects.com/pi/pi-operating-systems/debian-squeeze/starting-up-for-the-first-time" title=".Starting Up For the First Time">.Starting Up For the First Time</a> </div></div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><a href="javascript: cat1.o(29);"><img id="jcat129" src="./Using the UART « Raspberry Pi Projects_files/plus.gif" alt=""></a><img id="icat129" src="./Using the UART « Raspberry Pi Projects_files/folder.gif" alt=""><a id="scat129" class="node" href="http://www.raspberry-projects.com/pi/category/pi-operating-systems/qt-on-the-raspberry-pi" title="QT on the Raspberry Pi">QT on the Raspberry Pi</a> </div><div id="dcat129" class="clip" style="display:none;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat184" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat184" class="node" href="http://www.raspberry-projects.com/pi/pi-operating-systems/qt-on-the-raspberry-pi/licencing-costs" title="Licencing costs">Licencing costs</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat1101" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat1101" class="node" href="http://www.raspberry-projects.com/pi/pi-operating-systems/qt-on-the-raspberry-pi/qt-general" title="QT General">QT General</a> </div></div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><a href="javascript: cat1.o(31);"><img id="jcat131" src="./Using the UART « Raspberry Pi Projects_files/plus.gif" alt=""></a><img id="icat131" src="./Using the UART « Raspberry Pi Projects_files/folder.gif" alt=""><a id="scat131" class="node" href="http://www.raspberry-projects.com/pi/category/pi-operating-systems/raspbian" title="Raspbian wheexy - Recommended OS">Raspbian wheexy - Recommended OS</a> </div><div id="dcat131" class="clip" style="display:none;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><a href="javascript: cat1.o(15);"><img id="jcat115" src="./Using the UART « Raspberry Pi Projects_files/plus.gif" alt=""></a><img id="icat115" src="./Using the UART « Raspberry Pi Projects_files/folder.gif" alt=""><a id="scat115" class="node" href="http://www.raspberry-projects.com/pi/category/pi-operating-systems/raspbian/gui" title="GUI">GUI</a> </div><div id="dcat115" class="clip" style="display:none;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat163" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat163" class="node" href="http://www.raspberry-projects.com/pi/pi-operating-systems/raspbian/gui/command-prompt" title="Command prompt">Command prompt</a> </div></div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><a href="javascript: cat1.o(20);"><img id="jcat120" src="./Using the UART « Raspberry Pi Projects_files/plus.gif" alt=""></a><img id="icat120" src="./Using the UART « Raspberry Pi Projects_files/folder.gif" alt=""><a id="scat120" class="node" href="http://www.raspberry-projects.com/pi/category/pi-operating-systems/raspbian/network-settings" title="Networking">Networking</a> </div><div id="dcat120" class="clip" style="display:none;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat165" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat165" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/tcpip/configuring-network-adaptors" title="Configuring Network Adaptors">Configuring Network Adaptors</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat1106" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat1106" class="node" href="http://www.raspberry-projects.com/pi/pi-operating-systems/raspbian/network-settings/rpi-as-wifi-access-point" title="RPi As Wifi Access Point">RPi As Wifi Access Point</a> </div></div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><a href="javascript: cat1.o(43);"><img id="jcat143" src="./Using the UART « Raspberry Pi Projects_files/plus.gif" alt=""></a><img id="icat143" src="./Using the UART « Raspberry Pi Projects_files/folder.gif" alt=""><a id="scat143" class="node" href="http://www.raspberry-projects.com/pi/category/pi-operating-systems/raspbian/usb" title="USB">USB</a> </div><div id="dcat143" class="clip" style="display:none;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat1120" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat1120" class="node" href="http://www.raspberry-projects.com/pi/pi-operating-systems/raspbian/usb/usb-commands" title="USB Commands">USB Commands</a> </div></div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><a href="javascript: cat1.o(44);"><img id="jcat144" src="./Using the UART « Raspberry Pi Projects_files/plus.gif" alt=""></a><img id="icat144" src="./Using the UART « Raspberry Pi Projects_files/folder.gif" alt=""><a id="scat144" class="node" href="http://www.raspberry-projects.com/pi/category/pi-operating-systems/raspbian/web-servers" title="Web Servers">Web Servers</a> </div><div id="dcat144" class="clip" style="display:none;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat194" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat194" class="node" href="http://www.raspberry-projects.com/pi/software_utilities/phpapache" title="PHP/Apache">PHP/Apache</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat1130" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat1130" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/tcpip/web-interfaces" title="Web Interfaces">Web Interfaces</a> </div></div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat151" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat151" class="node" href="http://www.raspberry-projects.com/pi/pi-operating-systems/raspbian/raspbian-general" title=".Raspbian General">.Raspbian General</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat155" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat155" class="node" href="http://www.raspberry-projects.com/pi/pi-operating-systems/raspbian/auto-running-programs" title="Auto running programs">Auto running programs</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat1109" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat1109" class="node" href="http://www.raspberry-projects.com/pi/pi-operating-systems/raspbian/screensaver" title="Screensaver">Screensaver</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat1110" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat1110" class="node" href="http://www.raspberry-projects.com/pi/pi-operating-systems/raspbian/scripts" title="Scripts">Scripts</a> </div></div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat1131" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat1131" class="node" href="http://www.raspberry-projects.com/pi/pi-operating-systems/win32diskimager" title="Win32DiskImager">Win32DiskImager</a> </div></div><div class="dtNode"><a href="javascript: cat1.o(26);"><img id="jcat126" src="./Using the UART « Raspberry Pi Projects_files/minus.gif" alt=""></a><img id="icat126" src="./Using the UART « Raspberry Pi Projects_files/folderopen.gif" alt=""><a id="scat126" class="node" href="http://www.raspberry-projects.com/pi/category/programming-in-c" title="Programming in C/C++">Programming in C/C++</a> </div><div id="dcat126" class="clip" style="display: block;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><a href="javascript: cat1.o(1);"><img id="jcat11" src="./Using the UART « Raspberry Pi Projects_files/plus.gif" alt=""></a><img id="icat11" src="./Using the UART « Raspberry Pi Projects_files/folder.gif" alt=""><a id="scat11" class="node" href="http://www.raspberry-projects.com/pi/category/programming-in-c/compilers-and-ides" title=".Compilers and IDE&#39;s">.Compilers and IDE's</a> </div><div id="dcat11" class="clip" style="display:none;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><a href="javascript: cat1.o(10);"><img id="jcat110" src="./Using the UART « Raspberry Pi Projects_files/plus.gif" alt=""></a><img id="icat110" src="./Using the UART « Raspberry Pi Projects_files/folder.gif" alt=""><a id="scat110" class="node" href="http://www.raspberry-projects.com/pi/category/programming-in-c/compilers-and-ides/eclipse" title="Eclipse">Eclipse</a> </div><div id="dcat110" class="clip" style="display:none;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat171" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat171" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/compilers-and-ides/eclipse/eclipse-general-notes" title="Eclipse General Notes">Eclipse General Notes</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat185" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat185" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/compilers-and-ides/eclipse/programming-the-rpi-in-linux-using-eclipse" title="Linux Eclipse Programming of the RPi">Linux Eclipse Programming of the RPi</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat1132" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat1132" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/compilers-and-ides/eclipse/programming-the-rpi-in-windows-using-eclipse" title="Windows Eclipse Programming of the RPi">Windows Eclipse Programming of the RPi</a> </div></div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><a href="javascript: cat1.o(13);"><img id="jcat113" src="./Using the UART « Raspberry Pi Projects_files/plus.gif" alt=""></a><img id="icat113" src="./Using the UART « Raspberry Pi Projects_files/folder.gif" alt=""><a id="scat113" class="node" href="http://www.raspberry-projects.com/pi/category/programming-in-c/compilers-and-ides/geany" title="Geany">Geany</a> </div><div id="dcat113" class="clip" style="display:none;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat146" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat146" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/compilers-and-ides/geany/geany-general" title=".Geany General">.Geany General</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat167" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat167" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/compilers-and-ides/geany/creating-a-project" title="Creating A Geany Project">Creating A Geany Project</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat178" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat178" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/compilers-and-ides/geany/installing-geany" title="Installing Geany">Installing Geany</a> </div></div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat148" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat148" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/getting-your-raspberry-pi-ready-for-c-programming" title=".Getting Your RPi Ready For C Programming">.Getting Your RPi Ready For C Programming</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat197" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat197" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/compilers-and-ides/problems-with-old-projects" title="Problems With Old Projects">Problems With Old Projects</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat1108" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat1108" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/running-your-exe" title="Running Your Exe">Running Your Exe</a> </div></div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><a href="javascript: cat1.o(2);"><img id="jcat12" src="./Using the UART « Raspberry Pi Projects_files/plus.gif" alt=""></a><img id="icat12" src="./Using the UART « Raspberry Pi Projects_files/folder.gif" alt=""><a id="scat12" class="node" href="http://www.raspberry-projects.com/pi/category/programming-in-c/arguments" title="Arguments">Arguments</a> </div><div id="dcat12" class="clip" style="display:none;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat175" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat175" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/arguments/getting-arguments-supplied-to-the-program" title="Getting Arguments Supplied To The Program">Getting Arguments Supplied To The Program</a> </div></div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><a href="javascript: cat1.o(5);"><img id="jcat15" src="./Using the UART « Raspberry Pi Projects_files/plus.gif" alt=""></a><img id="icat15" src="./Using the UART « Raspberry Pi Projects_files/folder.gif" alt=""><a id="scat15" class="node" href="http://www.raspberry-projects.com/pi/category/programming-in-c/c-libraries" title="C Libraries">C Libraries</a> </div><div id="dcat15" class="clip" style="display:none;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat156" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat156" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/c-libraries/bcm2835-by-mike-mccauley" title="bcm2835 by Mike McCauley">bcm2835 by Mike McCauley</a> </div></div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><a href="javascript: cat1.o(7);"><img id="jcat17" src="./Using the UART « Raspberry Pi Projects_files/plus.gif" alt=""></a><img id="icat17" src="./Using the UART « Raspberry Pi Projects_files/folder.gif" alt=""><a id="scat17" class="node" href="http://www.raspberry-projects.com/pi/category/programming-in-c/console" title="Console">Console</a> </div><div id="dcat17" class="clip" style="display:none;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat196" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat196" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/console/printf" title="printf">printf</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat1121" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat1121" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/console/using-console-commands-in-code" title="Using console commands in code">Using console commands in code</a> </div></div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><a href="javascript: cat1.o(9);"><img id="jcat19" src="./Using the UART « Raspberry Pi Projects_files/plus.gif" alt=""></a><img id="icat19" src="./Using the UART « Raspberry Pi Projects_files/folder.gif" alt=""><a id="scat19" class="node" href="http://www.raspberry-projects.com/pi/category/programming-in-c/delays" title="Delays">Delays</a> </div><div id="dcat19" class="clip" style="display:none;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat169" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat169" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/timing/delays" title="Delays">Delays</a> </div></div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><a href="javascript: cat1.o(11);"><img id="jcat111" src="./Using the UART « Raspberry Pi Projects_files/plus.gif" alt=""></a><img id="icat111" src="./Using the UART « Raspberry Pi Projects_files/folder.gif" alt=""><a id="scat111" class="node" href="http://www.raspberry-projects.com/pi/category/programming-in-c/exit" title="Exit">Exit</a> </div><div id="dcat111" class="clip" style="display:none;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat172" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat172" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/exit/exit-to-terminate-application" title="Exit To Terminate Application">Exit To Terminate Application</a> </div></div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><a href="javascript: cat1.o(12);"><img id="jcat112" src="./Using the UART « Raspberry Pi Projects_files/plus.gif" alt=""></a><img id="icat112" src="./Using the UART « Raspberry Pi Projects_files/folder.gif" alt=""><a id="scat112" class="node" href="http://www.raspberry-projects.com/pi/category/programming-in-c/file-input-and-output" title="File Input and Output">File Input and Output</a> </div><div id="dcat112" class="clip" style="display:none;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat173" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat173" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/file-input-and-output/file-extensions-in-linux" title="File Extensions In Linux">File Extensions In Linux</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat1103" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat1103" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/file-input-and-output/read-and-write-speed" title="Read and Write Speed">Read and Write Speed</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat1133" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat1133" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/file-input-and-output/working-with-directories" title="Working With Directories">Working With Directories</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat1134" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat1134" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/file-input-and-output/working-with-files" title="Working With Files">Working With Files</a> </div></div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><a href="javascript: cat1.o(16);"><img id="jcat116" src="./Using the UART « Raspberry Pi Projects_files/plus.gif" alt=""></a><img id="icat116" src="./Using the UART « Raspberry Pi Projects_files/folder.gif" alt=""><a id="scat116" class="node" href="http://www.raspberry-projects.com/pi/category/programming-in-c/gui-programming-in-c" title="GUI">GUI</a> </div><div id="dcat116" class="clip" style="display:none;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><a href="javascript: cat1.o(14);"><img id="jcat114" src="./Using the UART « Raspberry Pi Projects_files/plus.gif" alt=""></a><img id="icat114" src="./Using the UART « Raspberry Pi Projects_files/folder.gif" alt=""><a id="scat114" class="node" href="http://www.raspberry-projects.com/pi/category/programming-in-c/gui-programming-in-c/gtk" title="GTK">GTK</a> </div><div id="dcat114" class="clip" style="display:none;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat149" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat149" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/gui-programming-in-c/gtk/gtk-general" title=".GTK General">.GTK General</a> </div></div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><a href="javascript: cat1.o(28);"><img id="jcat128" src="./Using the UART « Raspberry Pi Projects_files/plus.gif" alt=""></a><img id="icat128" src="./Using the UART « Raspberry Pi Projects_files/folder.gif" alt=""><a id="scat128" class="node" href="http://www.raspberry-projects.com/pi/category/programming-in-c/gui-programming-in-c/qt" title="QT">QT</a> </div><div id="dcat128" class="clip" style="display:none;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat150" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat150" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/gui-programming-in-c/qt/qt-general-2" title=".QT General">.QT General</a> </div></div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><a href="javascript: cat1.o(41);"><img id="jcat141" src="./Using the UART « Raspberry Pi Projects_files/plusbottom.gif" alt=""></a><img id="icat141" src="./Using the UART « Raspberry Pi Projects_files/folder.gif" alt=""><a id="scat141" class="node" href="http://www.raspberry-projects.com/pi/category/programming-in-c/gui-programming-in-c/tk" title="TK">TK</a> </div><div id="dcat141" class="clip" style="display:none;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/empty.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat153" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat153" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/gui-programming-in-c/tk/tk-general" title=".TK General">.TK General</a> </div></div></div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><a href="javascript: cat1.o(17);"><img id="jcat117" src="./Using the UART « Raspberry Pi Projects_files/plus.gif" alt=""></a><img id="icat117" src="./Using the UART « Raspberry Pi Projects_files/folder.gif" alt=""><a id="scat117" class="node" href="http://www.raspberry-projects.com/pi/category/programming-in-c/i2c" title="I2C">I2C</a> </div><div id="dcat117" class="clip" style="display:none;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat1123" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat1123" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/i2c/using-the-i2c-interface" title="Using the I2C interface">Using the I2C interface</a> </div></div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><a href="javascript: cat1.o(18);"><img id="jcat118" src="./Using the UART « Raspberry Pi Projects_files/plus.gif" alt=""></a><img id="icat118" src="./Using the UART « Raspberry Pi Projects_files/folder.gif" alt=""><a id="scat118" class="node" href="http://www.raspberry-projects.com/pi/category/programming-in-c/io-pins" title="IO Pins">IO Pins</a> </div><div id="dcat118" class="clip" style="display:none;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat157" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat157" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/c-libraries/bcm2835-by-mike-mccauley" title="bcm2835 by Mike McCauley">bcm2835 by Mike McCauley</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat176" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat176" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/io-pins/gpio-interrupts" title="GPIO interrupts">GPIO interrupts</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat180" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat180" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/io-pins/io-pin-control-general" title="IO Pin Control – General">IO Pin Control – General</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat181" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat181" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/io-pins/io-speed" title="IO Speed">IO Speed</a> </div></div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><a href="javascript: cat1.o(19);"><img id="jcat119" src="./Using the UART « Raspberry Pi Projects_files/plus.gif" alt=""></a><img id="icat119" src="./Using the UART « Raspberry Pi Projects_files/folder.gif" alt=""><a id="scat119" class="node" href="http://www.raspberry-projects.com/pi/category/programming-in-c/memory" title="Memory">Memory</a> </div><div id="dcat119" class="clip" style="display:none;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat1112" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat1112" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/memory/shared-memory" title="Shared Memory">Shared Memory</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat1113" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat1113" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/memory/shared-memory-between-c-application-and-php-web-server" title="Shared Memory Between C Application And PHP Web Server">Shared Memory Between C Application And PHP Web Server</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat1127" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat1127" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/memory/variables" title="Variables">Variables</a> </div></div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><a href="javascript: cat1.o(21);"><img id="jcat121" src="./Using the UART « Raspberry Pi Projects_files/plus.gif" alt=""></a><img id="icat121" src="./Using the UART « Raspberry Pi Projects_files/folder.gif" alt=""><a id="scat121" class="node" href="http://www.raspberry-projects.com/pi/category/programming-in-c/null" title="Null">Null</a> </div><div id="dcat121" class="clip" style="display:none;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat191" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat191" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/null/null" title="Null">Null</a> </div></div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><a href="javascript: cat1.o(25);"><img id="jcat125" src="./Using the UART « Raspberry Pi Projects_files/plus.gif" alt=""></a><img id="icat125" src="./Using the UART « Raspberry Pi Projects_files/folder.gif" alt=""><a id="scat125" class="node" href="http://www.raspberry-projects.com/pi/category/programming-in-c/pipes" title="Pipes">Pipes</a> </div><div id="dcat125" class="clip" style="display:none;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat189" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat189" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/pipes/named-pipes-fifos" title="Named Pipes / FIFO’s">Named Pipes / FIFO’s</a> </div></div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><a href="javascript: cat1.o(27);"><img id="jcat127" src="./Using the UART « Raspberry Pi Projects_files/plus.gif" alt=""></a><img id="icat127" src="./Using the UART « Raspberry Pi Projects_files/folder.gif" alt=""><a id="scat127" class="node" href="http://www.raspberry-projects.com/pi/category/programming-in-c/pwm" title="PWM">PWM</a> </div><div id="dcat127" class="clip" style="display:none;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat1124" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat1124" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/pwm/using-the-pwm-pin" title="Using the PWM Pin">Using the PWM Pin</a> </div></div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><a href="javascript: cat1.o(30);"><img id="jcat130" src="./Using the UART « Raspberry Pi Projects_files/plus.gif" alt=""></a><img id="icat130" src="./Using the UART « Raspberry Pi Projects_files/folder.gif" alt=""><a id="scat130" class="node" href="http://www.raspberry-projects.com/pi/category/programming-in-c/random" title="Random">Random</a> </div><div id="dcat130" class="clip" style="display:none;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat1102" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat1102" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/random/rand" title="rand()">rand()</a> </div></div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><a href="javascript: cat1.o(32);"><img id="jcat132" src="./Using the UART « Raspberry Pi Projects_files/plus.gif" alt=""></a><img id="icat132" src="./Using the UART « Raspberry Pi Projects_files/folder.gif" alt=""><a id="scat132" class="node" href="http://www.raspberry-projects.com/pi/category/programming-in-c/scheduler" title="Scheduler">Scheduler</a> </div><div id="dcat132" class="clip" style="display:none;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat199" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat199" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/speed/process-allocation-by-the-os" title="Process Allocation By The OS">Process Allocation By The OS</a> </div></div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><a href="javascript: cat1.o(33);"><img id="jcat133" src="./Using the UART « Raspberry Pi Projects_files/plus.gif" alt=""></a><img id="icat133" src="./Using the UART « Raspberry Pi Projects_files/folder.gif" alt=""><a id="scat133" class="node" href="http://www.raspberry-projects.com/pi/category/programming-in-c/semaphores" title="Semaphores">Semaphores</a> </div><div id="dcat133" class="clip" style="display:none;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat1122" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat1122" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/semaphores/using-semaphores" title="Using Semaphores">Using Semaphores</a> </div></div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><a href="javascript: cat1.o(35);"><img id="jcat135" src="./Using the UART « Raspberry Pi Projects_files/plus.gif" alt=""></a><img id="icat135" src="./Using the UART « Raspberry Pi Projects_files/folder.gif" alt=""><a id="scat135" class="node" href="http://www.raspberry-projects.com/pi/category/programming-in-c/speed" title="Speed">Speed</a> </div><div id="dcat135" class="clip" style="display:none;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat182" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat182" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/io-pins/io-speed" title="IO Speed">IO Speed</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat198" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat198" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/speed/process-allocation-by-the-os" title="Process Allocation By The OS">Process Allocation By The OS</a> </div></div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><a href="javascript: cat1.o(36);"><img id="jcat136" src="./Using the UART « Raspberry Pi Projects_files/plus.gif" alt=""></a><img id="icat136" src="./Using the UART « Raspberry Pi Projects_files/folder.gif" alt=""><a id="scat136" class="node" href="http://www.raspberry-projects.com/pi/category/programming-in-c/spi" title="SPI">SPI</a> </div><div id="dcat136" class="clip" style="display:none;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat1125" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat1125" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/spi/using-the-spi-interface" title="Using The SPI Interface">Using The SPI Interface</a> </div></div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><a href="javascript: cat1.o(37);"><img id="jcat137" src="./Using the UART « Raspberry Pi Projects_files/plus.gif" alt=""></a><img id="icat137" src="./Using the UART « Raspberry Pi Projects_files/folder.gif" alt=""><a id="scat137" class="node" href="http://www.raspberry-projects.com/pi/category/programming-in-c/strings" title="Strings">Strings</a> </div><div id="dcat137" class="clip" style="display:none;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat166" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat166" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/strings/cr-and-lf" title="CR and LF">CR and LF</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat1115" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat1115" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/strings/strings-general" title="Strings General">Strings General</a> </div></div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><a href="javascript: cat1.o(38);"><img id="jcat138" src="./Using the UART « Raspberry Pi Projects_files/plus.gif" alt=""></a><img id="icat138" src="./Using the UART « Raspberry Pi Projects_files/folder.gif" alt=""><a id="scat138" class="node" href="http://www.raspberry-projects.com/pi/category/programming-in-c/tcpip" title="TCP/IP">TCP/IP</a> </div><div id="dcat138" class="clip" style="display:none;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat164" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat164" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/tcpip/configuring-network-adaptors" title="Configuring Network Adaptors">Configuring Network Adaptors</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat190" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat190" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/tcpip/network-interface-code-snippets" title="Network Interface Code Snippets">Network Interface Code Snippets</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat1104" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat1104" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/tcpip/read-local-network-interface-settings" title="Read Local Network Adaptors">Read Local Network Adaptors</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat1129" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat1129" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/tcpip/web-interfaces" title="Web Interfaces">Web Interfaces</a> </div></div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><a href="javascript: cat1.o(40);"><img id="jcat140" src="./Using the UART « Raspberry Pi Projects_files/plus.gif" alt=""></a><img id="icat140" src="./Using the UART « Raspberry Pi Projects_files/folder.gif" alt=""><a id="scat140" class="node" href="http://www.raspberry-projects.com/pi/category/programming-in-c/timing" title="Timing">Timing</a> </div><div id="dcat140" class="clip" style="display:none;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat160" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat160" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/timing/clock_gettime-for-acurate-timing" title="clock_gettime() For Acurate Timing">clock_gettime() For Acurate Timing</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat168" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat168" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/timing/delays" title="Delays">Delays</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat1117" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat1117" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/timing/timer-resources" title="Timer Resources">Timer Resources</a> </div></div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><a href="javascript: cat1.o(42);"><img id="jcat142" src="./Using the UART « Raspberry Pi Projects_files/minus.gif" alt=""></a><img id="icat142" src="./Using the UART « Raspberry Pi Projects_files/folderopen.gif" alt=""><a id="scat142" class="node" href="http://www.raspberry-projects.com/pi/category/programming-in-c/uart-serial-port" title="UART Serial Port">UART Serial Port</a> </div><div id="dcat142" class="clip" style="display: block;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat1126" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat1126" class="node" href="./Using the UART « Raspberry Pi Projects_files/Using the UART « Raspberry Pi Projects.htm" title="Using the UART">Using the UART</a> </div></div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat147" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat147" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/getting-your-raspberry-pi-ready-for-c-programming" title=".Getting Your RPi Ready For C Programming">.Getting Your RPi Ready For C Programming</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat159" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat159" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/c-general" title="C General">C General</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/line.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat1107" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat1107" class="node" href="http://www.raspberry-projects.com/pi/programming-in-c/running-your-exe" title="Running Your Exe">Running Your Exe</a> </div></div><div class="dtNode"><a href="javascript: cat1.o(34);"><img id="jcat134" src="./Using the UART « Raspberry Pi Projects_files/plusbottom.gif" alt=""></a><img id="icat134" src="./Using the UART « Raspberry Pi Projects_files/folder.gif" alt=""><a id="scat134" class="node" href="http://www.raspberry-projects.com/pi/category/software_utilities" title="Software and Utilities">Software and Utilities</a> </div><div id="dcat134" class="clip" style="display:none;"><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/empty.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat161" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat161" class="node" href="http://www.raspberry-projects.com/pi/software_utilities/codecs" title="Codecs">Codecs</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/empty.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat183" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat183" class="node" href="http://www.raspberry-projects.com/pi/software_utilities/io-utilities" title="IO Utilities">IO Utilities</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/empty.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat193" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat193" class="node" href="http://www.raspberry-projects.com/pi/software_utilities/phpapache" title="PHP/Apache">PHP/Apache</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/empty.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat1116" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat1116" class="node" href="http://www.raspberry-projects.com/pi/software_utilities/system-utilities" title="System Utilities">System Utilities</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/empty.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat1118" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat1118" class="node" href="http://www.raspberry-projects.com/pi/software_utilities/transfering-files-from-windows-pcs" title="Transfering Files From Windows PC’s">Transfering Files From Windows PC’s</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/empty.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/join.gif" alt=""><img id="icat1119" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat1119" class="node" href="http://www.raspberry-projects.com/pi/software_utilities/updating-packages" title="Updating Packages">Updating Packages</a> </div><div class="dtNode"><img src="./Using the UART « Raspberry Pi Projects_files/empty.gif" alt=""><img src="./Using the UART « Raspberry Pi Projects_files/joinbottom.gif" alt=""><img id="icat1128" src="./Using the UART « Raspberry Pi Projects_files/page.gif" alt=""><a id="scat1128" class="node" href="http://www.raspberry-projects.com/pi/software_utilities/web-browsers" title="Web Browsers">Web Browsers</a> </div></div></div></div>

<script type="text/javascript">
<!--
try{
cat1.openTo('482', true); /*wp_query object id*/
}catch(e){} //-->
</script>
</div></li><li id="search-2" class="widget widget_search"><form role="search" method="get" id="searchform" action="http://www.raspberry-projects.com/pi/">
	<div><label class="screen-reader-text" for="s">Search for:</label>
	<input type="text" value="" name="s" id="s">
	<input type="submit" id="searchsubmit" value="Search">
	</div>
	</form></li><li id="categories-2" class="widget widget_categories"><h2 class="widgettitle">Categories</h2>		<ul>
	<li class="cat-item cat-item-15"><a href="http://www.raspberry-projects.com/pi/category/programming-in-c/compilers-and-ides" title="View all posts filed under .Compilers and IDE&#39;s">.Compilers and IDE's</a>
</li>
	<li class="cat-item cat-item-37"><a href="http://www.raspberry-projects.com/pi/category/programming-in-c/arguments" title="View all posts filed under Arguments">Arguments</a>
</li>
	<li class="cat-item cat-item-14"><a href="http://www.raspberry-projects.com/pi/category/pi-operating-systems/arm-bare-metal-coding" title="View all posts filed under Arm Bare Metal Coding">Arm Bare Metal Coding</a>
</li>
	<li class="cat-item cat-item-10"><a href="http://www.raspberry-projects.com/pi/category/bash" title="View all posts filed under Bash">Bash</a>
</li>
	<li class="cat-item cat-item-18"><a href="http://www.raspberry-projects.com/pi/category/programming-in-c/c-libraries" title="View all posts filed under C Libraries">C Libraries</a>
</li>
	<li class="cat-item cat-item-20"><a href="http://www.raspberry-projects.com/pi/category/command-line" title="View all posts filed under Command Line">Command Line</a>
</li>
	<li class="cat-item cat-item-28"><a href="http://www.raspberry-projects.com/pi/category/programming-in-c/console" title="View all posts filed under Console">Console</a>
</li>
	<li class="cat-item cat-item-5"><a href="http://www.raspberry-projects.com/pi/category/pi-operating-systems/debian-squeeze" title="View all posts filed under Debian &#39;squeeze&#39;">Debian 'squeeze'</a>
</li>
	<li class="cat-item cat-item-48"><a href="http://www.raspberry-projects.com/pi/category/programming-in-c/delays" title="View all posts filed under Delays">Delays</a>
</li>
	<li class="cat-item cat-item-17"><a href="http://www.raspberry-projects.com/pi/category/programming-in-c/compilers-and-ides/eclipse" title="View all posts filed under Eclipse">Eclipse</a>
</li>
	<li class="cat-item cat-item-44"><a href="http://www.raspberry-projects.com/pi/category/programming-in-c/exit" title="View all posts filed under Exit">Exit</a>
</li>
	<li class="cat-item cat-item-12"><a href="http://www.raspberry-projects.com/pi/category/programming-in-c/file-input-and-output" title="View all posts filed under File Input and Output">File Input and Output</a>
</li>
	<li class="cat-item cat-item-16"><a href="http://www.raspberry-projects.com/pi/category/programming-in-c/compilers-and-ides/geany" title="View all posts filed under Geany">Geany</a>
</li>
	<li class="cat-item cat-item-42"><a href="http://www.raspberry-projects.com/pi/category/programming-in-c/gui-programming-in-c/gtk" title="View all posts filed under GTK">GTK</a>
</li>
	<li class="cat-item cat-item-33"><a href="http://www.raspberry-projects.com/pi/category/pi-operating-systems/raspbian/gui" title="View all posts filed under GUI">GUI</a>
</li>
	<li class="cat-item cat-item-25"><a href="http://www.raspberry-projects.com/pi/category/programming-in-c/i2c" title="View all posts filed under I2C">I2C</a>
</li>
	<li class="cat-item cat-item-19"><a href="http://www.raspberry-projects.com/pi/category/programming-in-c/io-pins" title="View all posts filed under IO Pins">IO Pins</a>
</li>
	<li class="cat-item cat-item-21"><a href="http://www.raspberry-projects.com/pi/category/programming-in-c/memory" title="View all posts filed under Memory">Memory</a>
</li>
	<li class="cat-item cat-item-38"><a href="http://www.raspberry-projects.com/pi/category/pi-operating-systems/raspbian/network-settings" title="View all posts filed under Networking">Networking</a>
</li>
	<li class="cat-item cat-item-32"><a href="http://www.raspberry-projects.com/pi/category/programming-in-c/null" title="View all posts filed under Null">Null</a>
</li>
	<li class="cat-item cat-item-6"><a href="http://www.raspberry-projects.com/pi/category/other-boards" title="View all posts filed under Other Boards">Other Boards</a>
</li>
	<li class="cat-item cat-item-3"><a href="http://www.raspberry-projects.com/pi/category/pi-hardware" title="View all posts filed under Pi Hardware">Pi Hardware</a>
</li>
	<li class="cat-item cat-item-8"><a href="http://www.raspberry-projects.com/pi/category/pi-operating-systems" title="View all posts filed under Pi Operating Systems">Pi Operating Systems</a>
</li>
	<li class="cat-item cat-item-36"><a href="http://www.raspberry-projects.com/pi/category/programming-in-c/pipes" title="View all posts filed under Pipes">Pipes</a>
</li>
	<li class="cat-item cat-item-9"><a href="http://www.raspberry-projects.com/pi/category/programming-in-c" title="View all posts filed under Programming in C/C++">Programming in C/C++</a>
</li>
	<li class="cat-item cat-item-43"><a href="http://www.raspberry-projects.com/pi/category/programming-in-c/pwm" title="View all posts filed under PWM">PWM</a>
</li>
	<li class="cat-item cat-item-40"><a href="http://www.raspberry-projects.com/pi/category/programming-in-c/gui-programming-in-c/qt" title="View all posts filed under QT">QT</a>
</li>
	<li class="cat-item cat-item-7"><a href="http://www.raspberry-projects.com/pi/category/pi-operating-systems/qt-on-the-raspberry-pi" title="View all posts filed under QT on the Raspberry Pi">QT on the Raspberry Pi</a>
</li>
	<li class="cat-item cat-item-46"><a href="http://www.raspberry-projects.com/pi/category/programming-in-c/random" title="View all posts filed under Random">Random</a>
</li>
	<li class="cat-item cat-item-11"><a href="http://www.raspberry-projects.com/pi/category/pi-operating-systems/raspbian" title="View all posts filed under Raspbian wheexy – Recommended OS">Raspbian wheexy – Recommended OS</a>
</li>
	<li class="cat-item cat-item-29"><a href="http://www.raspberry-projects.com/pi/category/programming-in-c/scheduler" title="View all posts filed under Scheduler">Scheduler</a>
</li>
	<li class="cat-item cat-item-45"><a href="http://www.raspberry-projects.com/pi/category/programming-in-c/semaphores" title="View all posts filed under Semaphores">Semaphores</a>
</li>
	<li class="cat-item cat-item-13"><a href="http://www.raspberry-projects.com/pi/category/software_utilities" title="View all posts filed under Software and Utilities">Software and Utilities</a>
</li>
	<li class="cat-item cat-item-23"><a href="http://www.raspberry-projects.com/pi/category/programming-in-c/speed" title="View all posts filed under Speed">Speed</a>
</li>
	<li class="cat-item cat-item-26"><a href="http://www.raspberry-projects.com/pi/category/programming-in-c/spi" title="View all posts filed under SPI">SPI</a>
</li>
	<li class="cat-item cat-item-30"><a href="http://www.raspberry-projects.com/pi/category/programming-in-c/strings" title="View all posts filed under Strings">Strings</a>
</li>
	<li class="cat-item cat-item-31"><a href="http://www.raspberry-projects.com/pi/category/programming-in-c/tcpip" title="View all posts filed under TCP/IP">TCP/IP</a>
</li>
	<li class="cat-item cat-item-35"><a href="http://www.raspberry-projects.com/pi/category/command-line/text-file-editors" title="View all posts filed under Text File Editors">Text File Editors</a>
</li>
	<li class="cat-item cat-item-24"><a href="http://www.raspberry-projects.com/pi/category/programming-in-c/timing" title="View all posts filed under Timing">Timing</a>
</li>
	<li class="cat-item cat-item-41"><a href="http://www.raspberry-projects.com/pi/category/programming-in-c/gui-programming-in-c/tk" title="View all posts filed under TK">TK</a>
</li>
	<li class="cat-item cat-item-27"><a href="http://www.raspberry-projects.com/pi/category/programming-in-c/uart-serial-port" title="View all posts filed under UART Serial Port">UART Serial Port</a>
</li>
	<li class="cat-item cat-item-47"><a href="http://www.raspberry-projects.com/pi/category/pi-operating-systems/raspbian/usb" title="View all posts filed under USB">USB</a>
</li>
	<li class="cat-item cat-item-34"><a href="http://www.raspberry-projects.com/pi/category/pi-operating-systems/raspbian/web-servers" title="View all posts filed under Web Servers">Web Servers</a>
</li>
		</ul>
</li><li id="pages-2" class="widget widget_pages"><h2 class="widgettitle">Pages</h2>		<ul>
			<li class="page_item page-item-5"><a href="http://www.raspberry-projects.com/pi/contact-us">Contact us</a></li>
		</ul>
		</li><li id="linkcat-2" class="widget widget_links"><h2 class="widgettitle">Pages</h2>
	<ul class="xoxo blogroll">
<li><a href="http://www.raspberrypi.org/" target="_blank">Raspberry Pi Foundation</a></li>
<li><a href="http://elinux.org/RPi_Community" target="_blank">RPi Community Wiki</a></li>

	</ul>
</li>
		</ul>
	</div>


<hr>
</div>




  </div>
  <div class="z_footer">
    <div class="z_footer_page_width">
      <div class="z_footer_left">
        <p class="z_footer_text_links"><a href="http://www.raspberry-projects.com/pi/">Home</a>  | <a href="http://www.ibexuk.com/raspberry_pi_designer.php">Raspberry Pi Resources</a> | <a href="http://www.raspberry-projects.com/pi/wp-content/themes/main/tandc.php" target="_blank">Terms &amp; Conditions</a> | <a href="http://www.raspberry-projects.com/pi/wp-admin/">Login</a>

        <br><span class="z_footer_text_links" style="font-size:10px;"><a href="http://www.mobile-disco.me/">Mobile Disco In Surrey</a> | <a href="http://www.mobile-disco.me/surrey_mobile_disco_faq.php">Mobile DJ In Kent</a></span>
        
        </p>
        
        <p class="z_footer_text_notices">© Copyright http://www.raspberry-projects.com/pi.  All rights reserved.  Raspberry Pi is a trademark of the <a href="http://raspberrypi.org/" target="_blank">Raspberry Pi Foundation</a>.</p>
      </div>
    
      <div class="z_footer_right">
      <a href="http://www.raspberry-projects.com/pi/"><img src="./Using the UART « Raspberry Pi Projects_files/footer_2.png" alt="Raspberry Pi Resources" class="z_footer_img"></a>
      </div>
    </div>
  </div>
</div>



		

<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-7016275-23']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>



</body></html>